class AddDynamicToCheckreocrd < ActiveRecord::Migration
  def self.up
    add_column :checkrecords,:dynamic_check_in_time,:datetime
    add_column :checkrecords,:dynamic_check_out_time,:datetime
    add_column :checkrecords,:dynamic_flag,:integer,:default => 0
  end

  def self.down
    remove_column :checkrecords,:dynamic_check_in_time
    remove_column :checkrecords,:dynamic_check_out_time
    remove_column :checkrecords,:dynamic_flag
  end
end
